package com.software_product_construction.backend_software_product_construction.dao;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;


@Mapper
@Repository
public interface LoginMapper {

    Integer superLogin(String username, String password);
    Integer lesseeLogin(String username, String password);
    Integer userLogin(String username, String password);

    void lesseeRegister(String id, String username, String password);
    void userRegister(String id, String username, String password, String lesseeId);
}
